home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr33 / filex12.zip / FILEX.MAN < prev   
Text File  |  1993-06-29  |  3KB  |  110 lines

  1. FILEX(1)                 USER COMMANDS                   FILEX(1)
  2.  
  3.  
  4.  
  5. NAME
  6.      filex - determine the type of a file by examining its name
  7.      and extension.
  8.  
  9. SYNOPSIS
  10.      file [ -1abdfnqR? ] target ...
  11.  
  12. DESCRIPTION
  13.      filex studies the filename extension and tells what kind of
  14.      files and what programs usually use that specific extension.
  15.  
  16.      filex uses the database file extensio.txt or any other user
  17.      defined data file to look up the extension information.
  18.  
  19. OPTIONS
  20.      -1   Show and study each different file extension only once.
  21.  
  22.      -a   Show All known possibilities.
  23.  
  24.      -b filename.ext
  25.           Identify only given filename extension, these Bogus files
  26.           don't have to exist.
  27.  
  28.      -d   Show the current Directory name at the beginning.
  29.  
  30.      -f   Don't handle hidden or system files (Force).
  31.  
  32.      -n   Show only unknown files (Noise).
  33.  
  34.      -q   Show only known files (Quiet).
  35.  
  36.      -R   Recurse through all subdirectories.
  37.  
  38.      -?   Info.
  39.  
  40.      -*   Debug.
  41.  
  42. EXAMPLES
  43.      Do the following command at the root of your harddisk:
  44.  
  45.           filex -1ndR . > test
  46.  
  47.      and if you find in the file "test" any file extensions you
  48.      know to belong to some program or a common file type, please
  49.      let me know them, too, to be added to the extension list.
  50.  
  51.      Command line options can be given separated or together and
  52.      the switch can be either unixlike "-" or DOSlike "/".
  53.  
  54.      filex -1 -n *.*
  55.      filex /1 /n *.*
  56.      filex -n1   *.*
  57.      filex /n -1 *.*
  58.  
  59.      You can have several targets specified on command line.
  60.  
  61.      filex -b file.a file.b file.c
  62.  
  63. ENVIRONMENT
  64.      Environment variable FILEX can be set to point to any valid
  65.      File Extension Database.
  66.  
  67. FILES
  68.      extensio.txt
  69.  
  70.      First Filex checks if environment variable FILEX exists and
  71.      then if a file named "extensio.txt" exist in any directory
  72.      specified in the PATH.
  73.  
  74.      Format of File Extansion Database is the following:
  75.      - first character of every line is . (period, ASCII 46)
  76.      - then max three characters (extension)
  77.      - TAB character (horizontal TAB, ASCII 9)
  78.      - max 63 characters (description of extension)
  79.  
  80. HISTORY
  81.      1.0 30-Jan-93    original version based on file.btm (jambtm02.zip)
  82.      1.1 28-Feb-93    red-black tree functions & large memory model
  83.      1.2 27-Jun-93    2x faster start up (64K data limit)
  84.  
  85. SEE ALSO
  86.      Robert Sedgewick: "Algorithms in C" ISBN 0-201-51425-7
  87.      for info about self-balancing binary trees (red-black trees).
  88.  
  89.      Ricki's File, File39
  90.  
  91.      Filex is not perfect, but it's a perfect companion for a fully
  92.      unixlike File utility. At the moment I know two good ones:
  93.  
  94.      garbo.uwasa.fi:/pc/unix/file10.zip by Richard Breuer
  95.      Specially directed to DOS files and can give extra info
  96.  
  97.      ftp.luth.se:/pub/os2/all/unix/unixutils/file39.zip (Darrel Hankerson)
  98.      fully unix compatible == linux file util port
  99.  
  100. BUGS
  101.      If file has a wrong filename extension, filex obviously makes
  102.      a wrong identification.
  103.  
  104. STATUS
  105.      This program is Freeware. Use, share and enjoy.
  106.  
  107.  
  108.  
  109. Jouni Miettunen * jon@stekt.oulu.fi * Oulu * Finland * Europe * 1993
  110.